package com.alog.javaee.day41;

import java.util.List;

/**
 * @Auther: Ye Zhengdong
 * @Date: 2019/2/23 21:29
 * @Description:
 */
public class PageBean<T> {
    public static int PAGE_SIZE = 2;

    private int totalCount;
    private int totalPages;
    private List<T> list;
    private int currentPage;
    private int pageSize;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getTotalPages() {
        return totalPages;
    }

    public void setTotalPages(int totalPages) {
        this.totalPages = totalPages;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }
}
